package extends1;

public class ThinkingInJava extends Book {

    private int age;

    public ThinkingInJava() {
        super.setName("Think in java");
        System.out.println("Thinking in java constructor");
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
